﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VISS.API.Commons {
    public interface IMaritalStatus {

        /// <summary>
        /// Insert new MaritalStatusEnt
        /// </summary>
        /// <param name="item">MaritalStatusEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Insert(MaritalStatusEnt item);
        /// <summary>
        /// Update MaritalStatusEnt
        /// </summary>
        /// <param name="item">MaritalStatusEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Update(MaritalStatusEnt item);
        /// <summary>
        /// Delete a MaritalStatusEnt
        /// </summary>
        /// <param name="iD">ID of MaritalStatusEnt need to be deleted</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Delete(short iD);

        /// <summary>
        /// Get all MaritalStatusEnt
        /// </summary>
        /// <returns>return a list of MaritalStatusEnt (empty list if no MaritalStatusEnt exists)</returns>
        List<MaritalStatusEnt> GetAll();
    }
}
